home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1997 / HAM Radio 1997.iso / vcls / wsanet8a / wsanet / src / errors.h < prev    next >
Text File  |  1996-04-08  |  1KB  |  30 lines

  1. /* Errors.H - Visual Basic errors that can be returned */
  2.  
  3. #define VBERR_OUTOFMEMORY          7
  4. #define VBERR_INVALIDPROPERTYVALUE 380
  5. #define VBERR_BADVBINDEX           381
  6. #define VBERR_READONLY             383
  7. #define VBERR_WRITEONLY            394
  8.  
  9. #define WSAERR_BASE                20000
  10.  
  11. #define WSAERR_BadHostAddr         20000
  12. #define WSAERR_AlreadyConn         20001
  13. #define WSAERR_NoTimers            20002
  14. #define WSAERR_RecvBuffer          20003
  15. #define WSAERR_SendOverFlow        20004
  16. #define WSAERR_NotConn             20005
  17.  
  18. #define IDS_WRONGVER               11
  19.  
  20. /*
  21.     ERR_NoWinSock,     "No WinSock.DLL found on your system"
  22.     ERR_BadVersion,    "Windows Sockets v1.1 not found"
  23.     ERR_NotConn,       "Not connected to a remote host"
  24.     ERR_RecvNotEmpty,  "Recieve buffer is not empty, could not reallocaate buffer"
  25.     ERR_InvalidString, "Invalid string"
  26.     ERR_HostUnknown,   "Unknown host"
  27.     ERR_SendBuffer,    "Send buffer non-existant!"
  28.     ERR_CantSet,       "You aren't allowed to set this property!"
  29.     ERR_BufferNotEmpty,   "Buffer not empty, cannot reset 'size'"
  30. */